<?php

namespace app\admin\controller;

use app\admin\middleware\CheckLogin;
use app\BaseController;
use think\Request;

class Menu extends BaseController
{
	protected $middleware = [CheckLogin::class];
	public function items(Request $request)
	{
		return $request->userinfo;
	}
}